﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 导入备查DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfISVImportEntryMemoBookDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfISVImportEntryMemoBookDTOData()
		{
			initData();
		}
		private void initData()
		{
		
					MemoBookAccounted=0m; 
					MemoBookEntered=0m; 
					SequenceNumber= 0; 
				
		
		
		
					MemoBookID= 0; 
				

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.MemoBookItems != null) 
			{
				this.MemoBookItems.DoSerializeKeyList(dict);
			}
	        	        	        	        	        			if (this.Entry != null) 
			{
				this.Entry.DoSerializeKeyList(dict);
			}
	        	        	        	        			if (this.CopyOfISVImportEntryDTO != null) 
			{
				this.CopyOfISVImportEntryDTO.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfISVImportEntryMemoBookDTOData(  ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData memoBookItems  , System.Decimal memoBookAccounted  , System.Decimal memoBookEntered  , System.Int32 sequenceNumber  , System.String abstracts  , ufida.u9.ait.openapi.CopyOfISVImportEntryDTOData entry  , System.DateTime businessDate  , System.String postPriod  , System.Int64 memoBookID  , ufida.u9.ait.openapi.CopyOfISVImportEntryDTOData copyOfISVImportEntryDTO  )
		{
			initData();
			this.MemoBookItems = memoBookItems;
			this.MemoBookAccounted = memoBookAccounted;
			this.MemoBookEntered = memoBookEntered;
			this.SequenceNumber = sequenceNumber;
			this.Abstracts = abstracts;
			this.Entry = entry;
			this.BusinessDate = businessDate;
			this.PostPriod = postPriod;
			this.MemoBookID = memoBookID;
			this.CopyOfISVImportEntryDTO = copyOfISVImportEntryDTO;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 备查项集合
		/// 导入备查DTO Copy.Misc.备查项集合
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_memoBookItems ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData MemoBookItems
		{
			get	
			{	
				return m_memoBookItems ;
			}
			set	
			{	
				m_memoBookItems = value ;	
			}
		}
			
		

		/// <summary>
		/// 备查簿本币金额
		/// 导入备查DTO Copy.Misc.备查簿本币金额
		/// </summary>
		private System.Decimal m_memoBookAccounted ;
		[DataMember(IsRequired=false)]
		public System.Decimal MemoBookAccounted
		{
			get	
			{	
				return m_memoBookAccounted ;
			}
			set	
			{	
				m_memoBookAccounted = value ;	
			}
		}
			
		

		/// <summary>
		/// 备查簿金额
		/// 导入备查DTO Copy.Misc.备查簿金额
		/// </summary>
		private System.Decimal m_memoBookEntered ;
		[DataMember(IsRequired=false)]
		public System.Decimal MemoBookEntered
		{
			get	
			{	
				return m_memoBookEntered ;
			}
			set	
			{	
				m_memoBookEntered = value ;	
			}
		}
			
		

		/// <summary>
		/// 序号
		/// 导入备查DTO Copy.Misc.序号
		/// </summary>
		private System.Int32 m_sequenceNumber ;
		[DataMember(IsRequired=false)]
		public System.Int32 SequenceNumber
		{
			get	
			{	
				return m_sequenceNumber ;
			}
			set	
			{	
				m_sequenceNumber = value ;	
			}
		}
			
		

		/// <summary>
		/// 摘要
		/// 导入备查DTO Copy.Misc.摘要
		/// </summary>
		private System.String m_abstracts ;
		[DataMember(IsRequired=false)]
		public System.String Abstracts
		{
			get	
			{	
				return m_abstracts ;
			}
			set	
			{	
				m_abstracts = value ;	
			}
		}
			
		

		/// <summary>
		/// 凭证分录
		/// 导入备查DTO Copy.Misc.凭证分录
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfISVImportEntryDTOData m_entry ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfISVImportEntryDTOData Entry
		{
			get	
			{	
				return m_entry ;
			}
			set	
			{	
				m_entry = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务日期
		/// 导入备查DTO Copy.Misc.业务日期
		/// </summary>
		private System.DateTime m_businessDate ;
		[DataMember(IsRequired=false)]
		public System.DateTime BusinessDate
		{
			get	
			{	
				return m_businessDate ;
			}
			set	
			{	
				m_businessDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 记账期间
		/// 导入备查DTO Copy.Misc.记账期间
		/// </summary>
		private System.String m_postPriod ;
		[DataMember(IsRequired=false)]
		public System.String PostPriod
		{
			get	
			{	
				return m_postPriod ;
			}
			set	
			{	
				m_postPriod = value ;	
			}
		}
			
		

		/// <summary>
		/// 备查ID
		/// 导入备查DTO Copy.Misc.备查ID
		/// </summary>
		private System.Int64 m_memoBookID ;
		[DataMember(IsRequired=false)]
		public System.Int64 MemoBookID
		{
			get	
			{	
				return m_memoBookID ;
			}
			set	
			{	
				m_memoBookID = value ;	
			}
		}
			
		

		/// <summary>
		/// 导入分录DTO Copy
		/// 导入备查DTO Copy.Misc.导入分录DTO Copy
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfISVImportEntryDTOData m_copyOfISVImportEntryDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfISVImportEntryDTOData CopyOfISVImportEntryDTO
		{
			get	
			{	
				return m_copyOfISVImportEntryDTO ;
			}
			set	
			{	
				m_copyOfISVImportEntryDTO = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																				
		#endregion 
	} 	
}
